package com.hua.struct;

import java.util.Scanner;

public class IfDemo03 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的成绩：");
        int score = scanner.nextInt();
        if (score==100){
            System.out.println("恭喜你获得了满分💯！");
        }else if (score<100&&score>=90){
            System.out.println("恭喜你获得了良好成绩!");
        }else if (score<90&&score>=70){
            System.out.println("中等成绩");
        }else if(score<70 &&score>=60){
            System.out.println("及格成绩");
        }else if (score>=0&&score<60){
            System.out.println("您未及格！");
        }else {
            System.out.println("你输入的分数不对！");
        }





        scanner.close();
    }
}
